Skip to content
This repository was archived by the owner on Sep 15, 2023. It is now read-only.

Commit f4386d6

Browse files
author
Daniel Gstoehl
committed
adjustments for new SDK
1 parent ad18aa5 commit f4386d6

File tree

2 files changed

+10
-0
lines changed
  • ch-covidcertificate-backend-verification-check/ch-covidcertificate-backend-verification-check-ws/src/main/java/ch/admin/bag/covidcertificate/backend/verification/check/ws

2 files changed

+10
-0
lines changed

ch-covidcertificate-backend-verification-check/ch-covidcertificate-backend-verification-check-ws/src/main/java/ch/admin/bag/covidcertificate/backend/verification/check/ws/model/RevokedCertificatesRepository.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,12 @@ public long getValidDuration(){
2626
return revokedCertificates.getValidDuration();
2727
}
2828

29+
@NotNull
30+
@Override
31+
public String getPrepopulatedSinceHeader(boolean b) {
32+
return "";
33+
}
34+
2935
public static class RevokedCertificates {
3036
private List<String> revokedCerts;
3137
private long validDuration;

ch-covidcertificate-backend-verification-check/ch-covidcertificate-backend-verification-check-ws/src/main/java/ch/admin/bag/covidcertificate/backend/verification/check/ws/verification/TestData.kt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,10 @@ object TestData {
3131
override fun containsCertificate(certificate: String): Boolean {
3232
return certs.contains(certificate)
3333
}
34+
35+
override fun getPrepopulatedSinceHeader(isProd: Boolean): String {
36+
return ""
37+
}
3438
},
3539

3640
ruleSet ?: RuleSet(

0 commit comments

Comments
 (0)