summary refs log tree commit diff
diff options
context:
space:
mode:
authorMadeline <46743919+MaddyUnderStars@users.noreply.github.com>2022-09-09 23:26:57 +1000
committerMadeline <46743919+MaddyUnderStars@users.noreply.github.com>2022-09-09 23:26:57 +1000
commitd9952f200f083b6a90cbcdb44442b9a931009957 (patch)
tree88d203981ce9cb15e3b3d7fdbd546f36db488294
parentAllow spotify activities through schema (diff)
downloadserver-d9952f200f083b6a90cbcdb44442b9a931009957.tar.xz
Fix typo
-rw-r--r--src/util/interfaces/Activity.ts2
-rw-r--r--src/util/schemas/ActivitySchema.ts2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/util/interfaces/Activity.ts b/src/util/interfaces/Activity.ts
index 39e944ed..7e9c6a56 100644
--- a/src/util/interfaces/Activity.ts
+++ b/src/util/interfaces/Activity.ts
@@ -37,7 +37,7 @@ export interface Activity {
 	id?: string;
 	sync_id?: string;
 	metadata?: {
-		context_url?: string;
+		context_uri?: string;
 		album_id?: string;
 		artist_ids?: string[];
 	},
diff --git a/src/util/schemas/ActivitySchema.ts b/src/util/schemas/ActivitySchema.ts
index b5b419a3..db42fff4 100644
--- a/src/util/schemas/ActivitySchema.ts
+++ b/src/util/schemas/ActivitySchema.ts
@@ -42,7 +42,7 @@ export const ActivitySchema = {
 			$id: String,
 			$sync_id: String,
 			$metadata: {
-				$context_url: String,
+				$context_uri: String,
 				$album_id: String,
 				$artist_ids: [String],
 			},