Skip to content

Commit

Permalink
Fix secretCode access settings in Subscriber
Browse files Browse the repository at this point in the history
  • Loading branch information
mekya committed Mar 24, 2024
1 parent 4d4763b commit 401587f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/main/java/io/antmedia/datastore/db/types/Subscriber.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
import org.bson.types.ObjectId;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonProperty.Access;

import dev.morphia.annotations.Entity;
import dev.morphia.annotations.Field;
Expand Down Expand Up @@ -51,7 +53,7 @@ public class Subscriber {
/**
* Secret code of the Subscriber
*/
@JsonIgnore
@JsonProperty(access = Access.WRITE_ONLY)
@Schema(description = "Secret code of the subscriber")
private String b32Secret;

Expand Down

0 comments on commit 401587f

Please sign in to comment.