Skip to content

Commit

Permalink
fix: translations id type
Browse files Browse the repository at this point in the history
  • Loading branch information
EdouardDem committed Mar 11, 2024
1 parent 20ec2da commit 01923f2
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export class TranslationsDataClient extends DataClient<DirectusTranslation> {
super(migrationClient);
}

protected getDeleteCommand(itemId: number) {
protected getDeleteCommand(itemId: string) {
return deleteTranslation(itemId);
}

Expand All @@ -28,7 +28,7 @@ export class TranslationsDataClient extends DataClient<DirectusTranslation> {
}

protected getUpdateCommand(
itemId: number,
itemId: string,
diffItem: Partial<WithoutIdAndSyncId<DirectusTranslation>>,
) {
return updateTranslation(itemId, diffItem);
Expand Down

0 comments on commit 01923f2

Please sign in to comment.