Browse Source

Fixed one more small issue with creating new playlists

Kristian Vos 4 years ago
parent
commit
8f36c898d3
1 changed files with 1 additions and 1 deletions
  1. 1 1
      backend/logic/db/schemas/station.js

+ 1 - 1
backend/logic/db/schemas/station.js

@@ -42,7 +42,7 @@ export default {
 	],
 	owner: { type: String },
 	partyMode: { type: Boolean },
-	playMode: { type: String, enum: ["random", "sequential"] },
+	playMode: { type: String, enum: ["random", "sequential"], default: "random" },
 	theme: { type: String, enum: ["blue", "purple", "teal", "orange"], default: "blue" },
 	includedPlaylists: [{ type: String }],
 	excludedPlaylists: [{ type: String }],