Skip to content

Commit f07ccb3

Browse files
committed
ApiToken: Use EndpointScope enum for endpoint_scopes column
1 parent d7e0831 commit f07ccb3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/models/token.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ pub struct ApiToken {
3030
pub crate_scopes: Option<Vec<String>>,
3131
/// A list of endpoint scopes or `None` for the `legacy` endpoint scope (see RFC #2947)
3232
#[serde(skip)]
33-
pub endpoint_scopes: Option<Vec<String>>,
33+
pub endpoint_scopes: Option<Vec<scopes::EndpointScope>>,
3434
}
3535

3636
impl ApiToken {

0 commit comments

Comments
 (0)