Fix dodgy find/replace
This commit is contained in:
parent
99810dd52f
commit
7a809a2a0f
@ -46,7 +46,7 @@ func GetTranscriptHandler(ctx *gin.Context) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if !hasPermission {
|
if !hasPermission {
|
||||||
ctx.JSON(403, utils.ErrorStr("You do not have permission to view this transcriptMetadata"))
|
ctx.JSON(403, utils.ErrorStr("You do not have permission to view this transcript"))
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -47,7 +47,7 @@ func GetTranscriptRenderHandler(ctx *gin.Context) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if !hasPermission {
|
if !hasPermission {
|
||||||
ctx.JSON(403, utils.ErrorStr("You do not have permission to view this transcriptMetadata"))
|
ctx.JSON(403, utils.ErrorStr("You do not have permission to view this transcript"))
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user