diff --git a/pkg/service/cast/media.go b/pkg/service/cast/media.go index 566e955..a690abe 100644 --- a/pkg/service/cast/media.go +++ b/pkg/service/cast/media.go @@ -409,10 +409,14 @@ func SyncAsAuth(artistUuid string) error { if platformIDENUM == cast.PlatformIDENUM_UNKNOWN { continue } + asID := v.Id + if platformIDENUM == cast.PlatformIDENUM_BULESKY && asID == "" { + asID = v.Username + } authReq.Data = append(authReq.Data, &cast.UpdateOAuthReq_Info{ ArtistUuid: artistUuid, PlatformID: platformIDENUM, - AsID: v.Id, + AsID: asID, PlatformUserName: v.Username, AutInfo: string(asInfoB), })